#  -*- coding:utf-8 -*- 
"""
@ author: 罗金盛
@ time: 2024/3/6 
@ file: 11.call方法和参数.py

"""
class LJS:
    def __call__(self, *args, **kwargs):
        print('call被调用了',args,kwargs)

def hello(name,*args,**kwargs):
    print('hello',name)
    print('其余参数',args)
    print('键值对参数',kwargs)

# hello(name='ljs','20',ljs="大帅哥") # SyntaxError: positional argument follows keyword argument

L = LJS()
print(L)
L(1,2,3,4,5,6,7,8,9,ljs="dashuaige")

